package com.nchu.chatserver.dao;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 王小航
 * @Date: 2025/05/09/11:36
 * @Description:
 */
@Data
public class PrivateMessageRequest {
    @NotNull(message = "接收者ID不能为空")
    private Integer UserId;

    @NotNull(message = "接收者ID不能为空")
    private Integer toUserId;

    @NotBlank(message = "消息内容不能为空")
    private String content;
}